package com.ezops.poc.util;

import java.util.Map;

import com.ezops.poc.bo.ClientBondFileModel;
import com.ezops.poc.bo.ClientEquityFileModel;
import com.ezops.poc.bo.ot.ClientOTEquityModel;

/**
 * There will be separate model/entity class for each client and asset Type
 * combination. This factory will return he model type based on the two
 * properties.
 * 
 * @author vgaurav
 * 
 */
public class ClientModelFactory {

	private static Map<Integer, Class> modelTypeMap;

	public static Class getType(String clientName, String assetType) {
		if ("BOND".equalsIgnoreCase(assetType))
			return ClientBondFileModel.class;
		if ("EQUITY".equalsIgnoreCase(assetType))
			return ClientOTEquityModel.class;
		return null;
	}
}
